#!/bin/env python

# Lucid is Copyright (C) 2006 by Infiscape
#
# Original Author: Allen Bierbaum
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

import sys
from PyQt4 import QtCore, QtGui

class Ui_Form(object):
   def setupUi(self, Form):
      Form.setObjectName("Form")
      Form.resize(QtCore.QSize(QtCore.QRect(0,0,400,300).size()).expandedTo(Form.minimumSizeHint()))

      self.vboxlayout = QtGui.QVBoxLayout(Form)
      self.vboxlayout.setMargin(9)
      self.vboxlayout.setSpacing(6)
      self.vboxlayout.setObjectName("vboxlayout")

      self.vboxlayout1 = QtGui.QVBoxLayout()
      self.vboxlayout1.setMargin(0)
      self.vboxlayout1.setSpacing(6)
      self.vboxlayout1.setObjectName("vboxlayout1")

      self.treeView = QtGui.QTreeView(Form)
      self.treeView.setObjectName("treeView")
      self.vboxlayout1.addWidget(self.treeView)

      self.hboxlayout = QtGui.QHBoxLayout()
      self.hboxlayout.setMargin(0)
      self.hboxlayout.setSpacing(6)
      self.hboxlayout.setObjectName("hboxlayout")

      self.horizontalSlider = QtGui.QSlider(Form)
      self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
      self.horizontalSlider.setObjectName("horizontalSlider")
      self.hboxlayout.addWidget(self.horizontalSlider)

      self.mOptionButton = QtGui.QPushButton(Form)
      self.mOptionButton.setFlat(False)
      self.mOptionButton.setObjectName("mOptionButton")
      self.hboxlayout.addWidget(self.mOptionButton)
      self.vboxlayout1.addLayout(self.hboxlayout)
      self.vboxlayout.addLayout(self.vboxlayout1)

      self.retranslateUi(Form)
      QtCore.QMetaObject.connectSlotsByName(Form)

   def retranslateUi(self, Form):
      Form.setWindowTitle(QtGui.QApplication.translate("Form", "TreeView", None, QtGui.QApplication.UnicodeUTF8))
      self.mOptionButton.setText(QtGui.QApplication.translate("Form", "O", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
   app = QtGui.QApplication(sys.argv)
   Form = QtGui.QWidget()
   ui = Ui_Form()
   ui.setupUi(Form)
   Form.show()
   sys.exit(app.exec_())
